﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace HelenServer.Migrator;

[Table("zt_lang")]
[Index("Section", "Key", Name = "lang", IsUnique = true)]
public partial class ZtLang
{
    [Key]
    [Column("id", TypeName = "mediumint(8) unsigned")]
    public uint Id { get; set; }

    [Column("module")]
    [StringLength(30)]
    public string Module { get; set; } = null!;

    [Column("section")]
    [StringLength(30)]
    public string Section { get; set; } = null!;

    [Column("key")]
    [StringLength(60)]
    public string Key { get; set; } = null!;

    [Column("value", TypeName = "text")]
    public string Value { get; set; } = null!;
}